package softwareinlife.android.ux.start;

import softwareinlife.android.ux.R;
import softwareinlife.android.ux.about.AboutActivity;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class SoftwareInLifeActivity extends Activity implements OnClickListener {
	/** Called when the activity is first created. */

	public Float x1;
	public Float y1;

	public void onCreate(Bundle savedInstanceState) {

		super.onCreate(savedInstanceState);

		setContentView(R.layout.main);
		
		final View visionstart = this.findViewById(R.id.StartVisionButton);
        visionstart.setOnClickListener(this);      

	}
	
	public void onClick(View v)
	{
		switch(v.getId())
		{
			case R.id.StartVisionButton:
				Intent i = new Intent(this, AboutActivity.class);
				startActivity(i);
			break;
		}
	}
	
	
	
	
	@Override
	public boolean onKeyDown(int keyCode, KeyEvent event) {
		// TODO Auto-generated method stub
		return super.onKeyDown(keyCode, event);
	}
	
	
}